package org.mybatis3.test4;

import org.aspectj.lang.JoinPoint;

public class UserServiceError {
    public void afterThrowing(JoinPoint joinPoint,Exception e){
                            //joinPoint  得到连接点的信息
        //joinPoint.getSignature(); //能得到方法的签名
        System.out.println("对象："+joinPoint.getTarget()+"发生了:"+e.toString());

    }
}
